<?php 
include TMPL_PATH.'public/header.phtml';
?>
<div class="subnav">
    <div class="content-menu ib-a blue line-x">
        <a href='javascript:;' class="on"><em>大转盘活动列表</em></a>  
    </div>
</div>
<div class="pad_10">
<div class="table-list">
    <table width="100%" cellspacing="0">
      <thead>
          <tr>
            <th align="center">邮箱</th>
            <th align="center">金额</th>           
            <th align="center">奖品内容</th>
            <th align="left">抽奖时间</th>          
            <th align="center">分享</th>
          </tr>
      </thead>
                <tbody>
                    <?php 
                    foreach($list as $k=>$v):?>
                    <tr>
                        <td align="center"><?php echo $v['email']?></td>
                        <td align="center"><?php echo $v['prize_type'];?></td>                       
                        <td align="center"><?php echo $v['prize_content'];?></td>
                        <td style="margin-right:5px;"><?php echo date('Y-m-d H:i:s', $v['time'])?></td>
						<td align="center"><?php if($v['is_share']==1){echo "已激活";}else{echo " ";}?></td>
                    </tr>
                    <?php endforeach;?>
		</tbody>
	</table>
	<div id="pages"><?php echo $pageShow;?></div>
</div>

</div>
</body>
</html>
